package com.chen.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * (MedicalAssay)实体类
 *
 * @author makejava
 * @since 2024-01-04 11:38:03
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("medical_assay")
public class MedicalAssay implements Serializable {
    private static final long serialVersionUID = -69842228106318415L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("assay_user")
    private String assayUser;
    @TableField("hoospital_id")
    private Long hoospitalId;

    @TableField("assay_result")
    private Integer assayResult;

    private String phone;
    @TableField("card_num")
    private String cardNum;
    @TableField("assay_time")
    private Date assayTime;

    @TableField(exist = false)
    private String hospitalName;


}

